<template>
  <view class="index">
    <view class="jtop">
      <view class="status_bar"><!-- 这里是状态栏 --></view>
      <view class="jtop_l" @tap="navigateBack"
        ><image src="../../static/img/ic_back.png"></image
      ></view>
      <view class="jtop_c">选择成员</view>
      <view class="jtop_r">全选</view>
    </view>
    <view class="tophr"></view>
    <uni-search-bar
      placeholder="搜索"
      @confirm="search"
      class="ss"
      bgColor="#ffffff"
    ></uni-search-bar>

    <view class="dus" @tap="to_t">
      <image src="../../static/img/doc/ic_address.png" class="dusl"></image>
      <text class="dusc">企业通讯录</text>
      <image src="../../static/img/jt.png" class="dusr"></image>
    </view>

    <view class="dus_t">
      最近联系人
    </view>

    <view class="dus_tl">
      S
    </view>

    <view class="dus_boxs">
      <view class="dus_box">
        <image
          src="../../static/img/doc/ic_check_press.png"
          class="dus_box_s dus_box_sx"
        ></image>
        <image src="../../static/img/jhead_portrait.png" class="dus_box_tx"></image>
        <view class="dus_box_l">
          <text class="dus_box_lt">宋旋</text>
          <text class="dus_box_lf">首席搬砖工</text>
        </view>
      </view>
    </view>

    <view class="dus_tl">
      X
    </view>

    <view class="dus_boxs">
      <view class="dus_box">
        <image
          src="../../static/img/doc/ic_check_press.png"
          class="dus_box_s"
        ></image>
        <image src="../../static/img/jhead_portrait.png" class="dus_box_tx"></image>
        <view class="dus_box_l">
          <text class="dus_box_lt">小布衣</text>
          <text class="dus_box_lf">底层搬砖工</text>
        </view>
      </view>
      <view class="dus_box">
        <image
          src="../../static/img/doc/ic_check_normal.png"
          class="dus_box_s"
        ></image>
        <image src="../../static/img/jhead_portrait.png" class="dus_box_tx"></image>
        <view class="dus_box_l">
          <text class="dus_box_lt">小布衣</text>
          <text class="dus_box_lf">底层搬砖工</text>
        </view>
      </view>
      <view class="dus_box">
        <image
          src="../../static/img/doc/ic_check_normal.png"
          class="dus_box_s"
        ></image>
        <image src="../../static/img/jhead_portrait.png" class="dus_box_tx"></image>
        <view class="dus_box_l">
          <text class="dus_box_lt">小布衣</text>
          <text class="dus_box_lf">底层搬砖工</text>
        </view>
      </view>
    </view>

    <view class="dcf">
      <image src="../../static/img/jhead_portrait.png" class="dcf_tx"></image>
      <image src="../../static/img/jhead_portrait.png" class="dcf_tx"></image>
      <text class="dcf_t">确定(2)</text>
    </view>
  </view>
</template>

<script>
import request from '@/common/request.js';
import { mapState } from 'vuex';

export default {
  computed: mapState(['forcedLogin', 'hasLogin', 'userName']),

  methods: {
    navigateBack() {
      uni.navigateBack();
    },
    to_t() {
      uni.navigateTo({
        url: '../doc/doc_user_selectt',
      });
    },
  },
};
</script>

<style>
.tophr {
  width: 100%;
  height: 88rpx;
}
.uni-searchbar {
  box-shadow: none;
}
.tc {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  display: block;
}
.dus {
  width: 100%;
  height: 90rpx;
  display: block;
  float: left;
  border: 1px solid #dddddd;
  border-left: 0;
  border-right: 0;
  background: #ffffff;
}
.dusl {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: left;
  margin: 21rpx 22rpx 21rpx 30rpx;
}
.dusc {
  width: auto;
  height: 42rpx;
  font-size: 34rpx;
  line-height: 42rpx;
  color: #000000;
  display: block;
  float: left;
  margin: 24rpx 0;
}
.dusr {
  width: 16rpx;
  height: 25rpx;
  display: block;
  float: right;
  margin: 33rpx 30rpx 0 0;
}
.dus_t {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  font-size: 24rpx;
  line-height: 32rpx;
  color: #999999;
  border-bottom: 1px solid #dddddd;
  padding: 20rpx 30rpx;
  box-sizing: border-box;
}
.dus_tl {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  font-size: 24rpx;
  line-height: 32rpx;
  color: #999999;
  padding: 4rpx 30rpx;
  box-sizing: border-box;
}
.dus_boxs {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  border: 1px solid #dddddd;
  border-left: 0;
  border-right: 0;
  background: #ffffff;
}
.dus_box {
  width: 720rpx;
  margin: 0 0 0 30rpx;
  height: 120rpx;
  display: block;
  float: left;
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
}
.dus_boxs .dus_box:last-child {
  border: 0;
}
.dus_box_s {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: left;
  margin: 36rpx 30rpx 0 0;
}
.dus_box_s {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: left;
  margin: 36rpx 30rpx 0 0;
}
.dus_box_tx {
  width: 84rpx;
  height: 84rpx;
  display: block;
  float: left;
  margin: 18rpx 20rpx 0rpx 0;
}
.dus_box_l {
  width: 500rpx;
  height: auto;
  display: block;
  float: left;
  margin: 0rpx 0 0rpx 0;
}
.dus_box_lt {
  width: 100%;
  height: 42rpx;
  display: block;
  float: left;
  margin: 18rpx 0 10rpx 0;
  font-size: 34rpx;
  line-height: 42rpx;
  color: #000000;
}
.dus_box_lf {
  width: 100%;
  height: 32rpx;
  display: block;
  float: left;
  margin: 0rpx 0 0rpx 0;
  font-size: 24rpx;
  line-height: 32rpx;
  color: #999999;
}
.dus_box_sx {
  opacity: 0.5;
}

.dcf {
  width: 100%;
  height: 120rpx;
  display: block;
  float: left;
  position: fixed;
  left: 0;
  bottom: 0;
  background: #ffffff;
  box-shadow: inset 0px 1px 0px #dddddd;
  z-index: 1000;
  padding: 18rpx 30rpx;
  box-sizing: border-box;
}
.dcf_tx {
  width: 84rpx;
  height: 84rpx;
  display: block;
  float: left;
  margin: 0rpx 20rpx 0rpx 0;
}
.dcf_t {
  width: auto;
  height: 84rpx;
  line-height: 84rpx;
  display: block;
  float: right;
  margin: 0rpx 0rpx 0rpx 0;
  font-size: 36rpx;
  color: #256aff;
}

.index {
  background: rgb(242, 242, 242);
  width: 100%;
  height: auto;
}
.jtop {
  width: 100%;
  height: 88rpx;
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
.jtop_l {
  width: auto;
  height: 88rpx;
  display: block;
  float: left;
  font-size: 32rpx;
  color: #000000;
  line-height: 88rpx;
  margin: 0 0 0 30rpx;
}
.jtop_l image {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: left;
  margin: 20rpx 0 20rpx 0;
}
.jtop_r {
  width: auto;
  height: 88rpx;
  display: block;
  float: right;
  margin: 0rpx 20rpx 0 0;
  line-height: 88rpx;
  font-size: 32rpx;
  color: #000000;
  color: #256aff;
  opacity: 0.5;
}
.jtop_r image {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: left;
}
.jtop_c {
  width: 70%;
  height: 48rpx;
  line-height: 48rpx;
  display: block;
  float: left;
  position: fixed;
  top: 20rpx;
  left: 15%;
  text-align: center;
  font-size: 36rpx;
  color: #000000;
}
.jtop_c image {
  width: 36rpx;
  height: 36rpx;
  display: inline-block;
  float: none;
  margin-bottom: -5rpx;
  margin-left: 5rpx;
}
.jtop_b {
  width: 100%;
  height: auto;
  background: #ffffff;
  position: fixed;
  top: 88rpx;
  left: 0;
  z-index: 1001;
}

.uni-searchbar {
  background: rgb(242, 242, 242);
}
.index .uni-searchbar__box {
  background: #ffffff !important;
}
</style>
